package com.kaili.basic.mapper;


import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.entity.BaseTransferExport;
import com.kaili.basic.pojo.entity.BaseTransferManage;
import com.kaili.basic.pojo.vo.BaseTransferVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by renzhikun on 18-4-25.
 */
@Mapper
public interface BaseTransferManageMapper {

    void addTrans(BaseTransferManage transferManage);

    void deleteTrans(Map<String, Object> map);

    void updateTrans(BaseTransferManage transferManage);

    List<BaseTransferManage> findTransBy(Pagination page, BaseTransferManage transferManage);

    BaseTransferManage getTransByTid(Long transferId);

    List<BaseTransferManage> findTransByTransferNameAndContacts(BaseTransferManage transferManage);

    List<Long> getTransferIdForList();

    List<BaseTransferVO> getTransLikeTransferId(@Param("str") String str);

    List<BaseTransferExport> queryTransferExport(Map<String, Object> map);

}
